The SWController deals with SpriteWorldHitTest calls on the SpriteWorld that are contained by the SWCompositor 's subclasses. By default, it performs hit-testing on the actual sprite image itself. However, your application can set the hit-test flags to support any mode of hit-testing appropriate. As a subclass of the MouseController , it will return any member of the SWCompositor that is hit only if isWholespace() is true . If isWholespace() is false , the hit sprite must be a member of the SWController itself.
| Previous | Chapter Top | Next |